#include <iostream>
#include <cctype>

int main() {
    char input;
    std::cin >> input;
    if (input >= 'a' && input <= 'z') {
        if (input == 'z') {
            std::cout << 'A' << std::endl;
        } else {
            std::cout << char(toupper(input + 1)) << std::endl;
        }
    } else {
        std::cout << "invalid input" << std::endl;
    }
    return 0;
}